Skip to content

Conversation

himaniraghav3
Copy link
Collaborator

@himaniraghav3 himaniraghav3 requested a review from kkartunov August 1, 2025 14:45
? activeProject.status.toUpperCase()
: ''
const isCompletedOrCancelled =
projectStatus === CHALLENGE_STATUS.CANCELLED || projectStatus === CHALLENGE_STATUS.COMPLETED
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using a more descriptive variable name for isCompletedOrCancelled to clarify its purpose, such as isProjectInactive.

Copy link
Contributor

@kkartunov kkartunov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@himaniraghav3 hiding the button is good on WM side.
Please note we also need to:

  1. Do the same on Copilot Portal side for "New Copilot Request" at https://copilots.topcoder-dev.com/
  2. Filter out canceled & completed projects on the request form at "Select the project you want the copilot for"

@himaniraghav3 himaniraghav3 merged commit 8ede5aa into develop Aug 5, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants